print-editor: Fix saving
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 May 2021 15:16:52 +0000 (11:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 May 2021 15:19:43 +0000 (11:19 -0400)
commit087935f1601ab5bcfc5d7089d4c1ecf5503822c8
tree97fe880466cba6c394c7926d4821b8023e876a37
parentdc878f24d2e26af542abca2289fea63f2c96e68e
print-editor: Fix saving

g_file_replace_contents() does not accept -1 as
length, unlike similar apis.
demos/print-editor/print-editor.c